package com.system.xingzhi.dao.mapper;

import com.system.xingzhi.model.RoleAndPage;

import java.util.List;
import java.util.Map;

public interface RoleAndPageMapper {
    int deleteByPrimaryKey(String rolePageId);

    int insert(RoleAndPage record);

    int insertSelective(RoleAndPage record);

    RoleAndPage selectByPrimaryKey(String rolePageId);

    int updateByPrimaryKeySelective(RoleAndPage record);

    int updateByPrimaryKey(RoleAndPage record);

    List<RoleAndPage> queryRolePage(Map<String, String> map);

    RoleAndPage selectByPageAndRole(Map<String, String> map);
}